<div class="ordersCycles index">
	<h2><?php __("Orders Cycles");?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('orders_id');?></th>
			<th><?php echo $this->Paginator->sort('type_of_cycle_id');?></th>
			<th><?php echo $this->Paginator->sort('_1');?></th>
			<th><?php echo $this->Paginator->sort('_2');?></th>
			<th><?php echo $this->Paginator->sort('_3');?></th>
			<th><?php echo $this->Paginator->sort('_4');?></th>
			<th><?php echo $this->Paginator->sort('_5');?></th>
			<th><?php echo $this->Paginator->sort('_6');?></th>
			<th><?php echo $this->Paginator->sort('_7');?></th>
			<th><?php echo $this->Paginator->sort('_8');?></th>
			<th><?php echo $this->Paginator->sort('_9');?></th>
			<th><?php echo $this->Paginator->sort('_10');?></th>
			<th><?php echo $this->Paginator->sort('_11');?></th>
			<th><?php echo $this->Paginator->sort('_12');?></th>
			<th><?php echo $this->Paginator->sort('_13');?></th>
			<th><?php echo $this->Paginator->sort('_14');?></th>
			<th><?php echo $this->Paginator->sort('_15');?></th>
			<th><?php echo $this->Paginator->sort('_16');?></th>
			<th><?php echo $this->Paginator->sort('_17');?></th>
			<th><?php echo $this->Paginator->sort('_18');?></th>
			<th><?php echo $this->Paginator->sort('_19');?></th>
			<th><?php echo $this->Paginator->sort('_20');?></th>
			<th><?php echo $this->Paginator->sort('_21');?></th>
			<th><?php echo $this->Paginator->sort('_22');?></th>
			<th><?php echo $this->Paginator->sort('_23');?></th>
			<th><?php echo $this->Paginator->sort('_24');?></th>
			<th><?php echo $this->Paginator->sort('_25');?></th>
			<th><?php echo $this->Paginator->sort('_26');?></th>
			<th><?php echo $this->Paginator->sort('_27');?></th>
			<th><?php echo $this->Paginator->sort('_28');?></th>
			<th><?php echo $this->Paginator->sort('_29');?></th>
			<th><?php echo $this->Paginator->sort('_30');?></th>
			<th><?php echo $this->Paginator->sort('_31');?></th>
			<th><?php echo $this->Paginator->sort('date_start');?></th>
			<th><?php echo $this->Paginator->sort('date_end');?></th>
			<th class="actions"><?php __("Actions");?></th>
	</tr>
	<?php
	$i = 0;
	foreach ($ordersCycles as $ordersCycle):
		$class = null;
		if ($i++ % 2 == 0) {
			$class = ' class="altrow"';
		}
	?>
	<tr<?php echo $class;?>>
		<td><?php echo $ordersCycle['OrdersCycle']['id']; ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($ordersCycle['Orders']['name'], array('controller' => 'orders', 'action' => 'view', $ordersCycle['Orders']['id'])); ?>
		</td>
		<td><?php echo $ordersCycle['OrdersCycle']['type_of_cycle_id']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_1']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_2']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_3']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_4']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_5']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_6']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_7']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_8']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_9']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_10']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_11']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_12']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_13']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_14']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_15']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_16']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_17']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_18']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_19']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_20']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_21']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_22']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_23']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_24']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_25']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_26']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_27']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_28']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_29']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_30']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['_31']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['date_start']; ?>&nbsp;</td>
		<td><?php echo $ordersCycle['OrdersCycle']['date_end']; ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__("View", true), array('action' => 'view', $ordersCycle['OrdersCycle']['id'])); ?>
			<?php echo $this->Html->link(__("Edit", true), array('action' => 'edit', $ordersCycle['OrdersCycle']['id'])); ?>
			<?php echo $this->Html->link(__("Delete", true), array('action' => 'delete', $ordersCycle['OrdersCycle']['id']), null, sprintf(__("Are you sure you want to delete # %s?", true), $ordersCycle['OrdersCycle']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __("Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%", true)
	));
	?>	</p>

	<div class="paging">
		<?php echo $this->Paginator->prev('<< ' . __("previous", true), array(), null, array('class'=>'disabled'));?>
	 | 	<?php echo $this->Paginator->numbers();?>
 |
		<?php echo $this->Paginator->next(__("next", true) . ' >>', array(), null, array('class' => 'disabled'));?>
	</div>
</div>
<div class="actions">
	<h3><?php __("Actions"); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__("New Orders Cycle", true), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__("List Orders", true), array('controller' => 'orders', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__("New Orders", true), array('controller' => 'orders', 'action' => 'add')); ?> </li>
	</ul>
</div>